github.com/klauspost/compress/flate.fastEncL5Window.hist (field)
22 uses
github.com/klauspost/compress/flate (current package)
level5.go#L315: hist []byte
level5.go#L335: if len(e.hist) == 0 {
level5.go#L346: minOff := e.cur + int32(len(e.hist)) - maxMatchOffset
level5.go#L386: src = e.hist
level5.go#L627: if cap(e.hist) < allocHistory {
level5.go#L628: e.hist = make([]byte, 0, allocHistory)
level5.go#L634: e.cur += e.maxOffset + int32(len(e.hist))
level5.go#L636: e.hist = e.hist[:0]
level5.go#L643: if len(e.hist)+len(src) > cap(e.hist) {
level5.go#L644: if cap(e.hist) == 0 {
level5.go#L645: e.hist = make([]byte, 0, allocHistory)
level5.go#L647: if cap(e.hist) < int(maxMatchOffset*2) {
level5.go#L651: offset := int32(len(e.hist)) - maxMatchOffset
level5.go#L652: copy(e.hist[0:maxMatchOffset], e.hist[offset:])
level5.go#L654: e.hist = e.hist[:maxMatchOffset]
level5.go#L657: s := int32(len(e.hist))
level5.go#L658: e.hist = append(e.hist, src...)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |